<?
class Appfront_views_helpers_Contenttype extends Zend_View_Helper_Abstract {


	protected $_view;
	protected $_viewPaths;
	
	
	protected $_jquery = null;
    
    public function setView(Zend_View_Interface $view)
    {
        $this->view = $view;       
    }
    

	function __construct() {

		//ViewPfade filtern und speichern
		$this->_view = new Zend_View();
		
		$this->_viewPaths = $this->_view->getScriptPaths();

	}
	
	/*public function content()
	{
		
		$Page 		= Zend_Registry::get('PageObj');
		$Elemente 	= $Page->_Elements;
		
		
		
		
		foreach ($Elemente as $content)
		{
			
			$class = new $content->type;
						
			//echo $this->view->render('content/types/'.$class->_renderFile);
			$this->view->partial('content/types/'.$class->_renderFile, 'default', $class);
			
		}
		
	}*/
	
	public function contenttype($container_id = 'default', $render, $option)
    { 
        
    
    	return $this->view->render('content/types/'.$render);
        
    }
	
	
}


?>